package mn.idax.exchange.otc.web;

import mn.idax.exchange.common.SpringUtils;
import mn.idax.exchange.otc.util.I18nUtil;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.web.servlet.LocaleResolver;

import java.util.Locale;

/**
 * @Auther: dison
 * @Date: 2018/9/28 18:10
 * @Description:
 */
@RunWith(SpringRunner.class)
@SpringBootTest
@AutoConfigureMockMvc
public class MessageNotifyController {

    @Test
    public void getI18nBody(){
        String body = I18nUtil.getMessage("710000" , "zh-cn",  "idax_shendixiong@qq.com");
        System.out.println();
    }
}
